home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 December / Software of the Month Club 1996 December.iso / pc / dos / sri / edu / qasa / demo1.def < prev    next >
Encoding:
Text File  |  1995-10-14  |  17.7 KB  |  672 lines

  1.                           Sample QASA Database
  2.  
  3. This file must be compiled with QASA's database compiler, which will
  4. create the file DEMO1.QA.
  5.  
  6. This sample database contains questions and answers about QASA.
  7.  
  8. A QASA database may contain any of the following options. Any line
  9. not part of one of the following options is considered to be a comment,
  10. which is why this explanatory text may appear here. All of these options
  11. MUST appear alone on a line. The text below is ignored because other text
  12. appears on the line containing each option keyword.
  13.  
  14. Q=    question on following lines, terminated by a blank line or
  15.     another option.
  16. A=    answer on following lines, terminated by a blank line or
  17.     another option.
  18. H=      explanatory help text for preceding question/answer is on the
  19.     following lines, terminated by a blank line or another
  20.     option.
  21. P=    strip all punctuation from following answer list.
  22. N=    quiz name is on next line.
  23. M=    macro definition on following lines, terminated by a blank
  24.     line or another option.
  25. T=    time allowed is on next line in the format HH:MM:SS.
  26. C=    clear NOT allowed. No additional lines.
  27. S=    lock in sequential mode (user cannot change mode). No additional
  28.     lines.
  29. R=    lock in random mode (user cannot change mode). No additional
  30.     lines.
  31. F=    output score filename is on next line (no score recording
  32.     if omitted).
  33. E=    encrypt score file.
  34. W=    assign weighting. Weight appears as an integer on the next line.
  35.     This weight will be used for all questions following until and
  36.     unless another weight is assigned.
  37. D=    disable display of correct answers if answer is incorrect. No
  38.     additional lines.
  39. G=      define letter grade equivalency list or disable display of
  40.     letter grades during execution. To disable letter grade
  41.     display, the following line should contain "OFF" only. Otherwise,
  42.     any number of following lines contain the grade equivalencies
  43.     in the form <score>=<letter grade>.
  44. L=      limit the number of questions to a subset of the total number of
  45.         questions in the database. The number of questions in the subset
  46.         is specified on the following line.
  47. O=      omit the questions in the subset at compile time. Ignored without
  48.         the L= keyword. If L= is given without O=, then the subset will
  49.         be selected at run-time, giving a different subset each time the
  50.         database is run. If O= is given with L=, then the subset will be
  51.         determined by the compiler and the database will be the same each
  52.         time the program is run.
  53. V=    view literal answers. Causes first five (or fewer) characters of
  54.     the asnswer the user keyed in to be included in the score file
  55.     point matrix. This is BEFORE any preprocessing with the exception
  56.     that leading blanks are skipped.
  57. I=    Ignore character
  58. K=    Keep adminstrator's name (request it and record it in the score
  59.     file). No effect if score file not used.
  60. X=    Sets the length of eXported answers. The length is specified on
  61.     the following line. If two numbers are given, separated by a
  62.     comma, then the first is the length of answers that are kept
  63.     internally, and the optional second number is the length of the
  64.     answers that will be exported to the score file. The second
  65.     number can never be larger than the first.
  66.  
  67. In this sample database, questions are weighted by type as follows:
  68.     multiple-choice        1 point each
  69.     true/false (yes/no)    2 points each
  70.     fill-in            3 points each
  71.  
  72. Again, note that comments are just about free-form. Place them anywhere
  73. except between option keywords and their termination. QASA will discard
  74. all comment text as it compiles this file, so you are not penalized for
  75. commenting your databases.
  76.  
  77. The sample database configuration follows....
  78.  
  79. ==========================================================================
  80.  
  81. If this character appears in column 1, ignore it (skip over it)
  82. but do not count the line as blank. This allows spacing lines in
  83. explanatory help text. Do not use anywhere else.
  84. ---------------------------------------------------------------------
  85. I=
  86. *        (This is the default. To disable ignore, leave this line blank.)
  87.  
  88. Set the time limit to 10 minutes.
  89. ---------------------------------
  90. T=
  91. 10:00
  92.  
  93. Name the database. This name is displayed in QASA's main window.
  94. ----------------------------------------------------------------
  95. N=
  96. QA Study Aid Example Database #1
  97.  
  98. Specify a score file. If it already exists, score data will be
  99. appended. Otherwise, a new file will be created using this name.
  100. ----------------------------------------------------------------
  101. F=
  102. demo1.scr
  103.  
  104. Specify that we want the score file to contain literally what the user
  105. entered for each answer. This allows an analysis of consistently
  106. incorrect answers.
  107. ----------------------------------------------------------------------
  108. V=
  109.  
  110. To specify that we want the score file to contain the name of the
  111. test administrator (and therefore to prompt for it), use the K=
  112. option. This only has an effect if a score file name is specified.
  113. ------------------------------------------------------------------
  114. K=
  115.  
  116. Limit the number of questions to a random 20 out of the total of 25,
  117. and omit the "O=" switch (causes the choice to be made at run time).
  118. --------------------------------------------------------------------
  119. L=
  120. 20
  121. O= (turned off)
  122.  
  123. These are the 'true' and 'false' macro definitions...
  124. -----------------------------------------------------
  125.  
  126. M=
  127. $TRUE$
  128. True
  129. T
  130. Yes
  131. Y
  132.  
  133. M=
  134. $FALSE$
  135. False
  136. F
  137. No
  138. N
  139.  
  140. Define the letter grade equivalency list. The last line (59.99) causes
  141. the letter grade display to be omitted until the user achieves a score
  142. of at least 59.99. Set this to 0 to always display the letter grade.
  143. ----------------------------------------------------------------------
  144.  
  145. G=
  146. 95    = A+
  147. 90    = A
  148. 85    = A-
  149. 83    = B+
  150. 80    = B
  151. 75    = B-
  152. 73    = C+
  153. 70    = C
  154. 67    = C-
  155. 65    = D+
  156. 63    = D
  157. 60    = D-
  158. 59.99 = F
  159.  
  160. If we wanted to turn off the display of letter grades so the letter
  161. grade would be shown only when the quiz was completed and in the
  162. score file (if defined), then we would use the following:
  163. -------------------------------------------------------------------
  164.  
  165. G=                   [this turns G= into normal text]
  166. OFF
  167.  
  168. ==========================================================================
  169.  
  170. The first question follows, with a weight of 3.
  171. -----------------------------------------------
  172.  
  173. W=
  174. 3
  175.  
  176. Ignore all punctuation in the answer.
  177. -------------------------------------
  178. P=
  179.  
  180. Q=
  181.  1. Fill-in
  182.  
  183.  QASA requires a minimum of _____ bytes of memory.
  184.  
  185. A=
  186.  QASA requires at least 220K of memory.
  187.  220000
  188.  220K
  189.  220KB
  190.  220 K
  191.  220 KB
  192. H=
  193. *
  194.  QASA uses about 220KB with no database loaded.
  195.  
  196. ==========================================================================
  197.  
  198. Now the weighting is changed to 1 before multiple-choice questions.
  199. -------------------------------------------------------------------
  200.  
  201. W=
  202. 1
  203.  
  204. P=
  205.  
  206. Q=
  207.  2. Multiple-choice
  208.  
  209.  How many questions and answers can typically be put in a QASA
  210.  database, assuming your computer has 620K bytes of free memory
  211.  when QASA is started?
  212.  
  213.     A. 1000
  214.     B. Limited by disk space
  215.     C. 20,000
  216.     D. All of the above
  217.     E. None of the above
  218.  
  219. A=
  220.     B. Limited by disk space. QASA will overflow to disk if necessary.
  221.     B
  222.  
  223. H=
  224. *
  225.  QA Study Aid will read the database index into memory if
  226.  it will fit. Any part of the database index that will not
  227.  fit into memory is automatically overflowed to disk.
  228.  
  229. ==========================================================================
  230.  
  231. Q=
  232.  3. Multiple-choice
  233.  
  234.  How does QASA determine the correct answer?
  235.  
  236.     1. It knows the answers
  237.     2. By scanning the list of answers in the database and scoring
  238.        "correct" if your answer matches any of them.
  239.     3. By reading your mind
  240. A=
  241.     2. By scanning the list of answers in the database
  242.     By checking for matches.
  243.     2
  244.     Scanning
  245.     Matching
  246.  
  247. ==========================================================================
  248.  
  249. Q=
  250.  4. Multiple-choice
  251.  
  252.  What will QASA do if my question won't fit in the 15 screen
  253.  lines provided?
  254.  
  255.     1. Crash
  256.     2. Truncate the question
  257.     3. Display the question in 'pages'
  258. A=
  259.     2. Truncate the question
  260.     2
  261.     truncate
  262.  
  263. ==========================================================================
  264.  
  265. Q=
  266.  5. Multiple-choice
  267.  
  268.  Can QASA assign a "weight" to each question?
  269.  
  270.     a. Yes, provided the total weight adds up to 100.
  271.     b. No.
  272.     c. Yes, without restriction.
  273. A=
  274.     c. Yes, without restriction.
  275.     c
  276.  
  277. Provide some help if the user gets the previous question wrong...
  278. Note the asterisk (specified by I=) to get a spacing line.
  279. -----------------------------------------------------------------
  280. H=
  281. *
  282.  QASA allows you to assign an arbitrary weight to each question.
  283.  The total weights are summed and adjusted so that all of the
  284.  individual weights will equal 100 when the adjusted amounts
  285.  are summed. This means you can add questions at any time and
  286.  the relative weight of all questions will remain the same.
  287.  
  288.  This is NOT part of the above text because a blank line separates
  289.  it. Use the character specified by the Ignore option "I=" (which
  290.  is an '*' in this sample database) to cause a blank line to be
  291.  ignored; e.g., link paragraphs.
  292.  
  293. ==========================================================================
  294.  
  295. Change the weight to 2 for "true/false".
  296. ----------------------------------------
  297.  
  298. W=
  299. 2
  300.  
  301. Q=
  302.  6. True/False
  303.  
  304.  There is a way to limit the time allowed to answer all questions.
  305. A=
  306.  $TRUE$
  307.  
  308. ==========================================================================
  309.  
  310. And back to 1 again for multiple-choice.
  311. ----------------------------------------
  312.  
  313. W=
  314. 1
  315.  
  316. Q=
  317.  7. Multiple-choice
  318.  
  319.  How does QASA save the score?
  320.  
  321.     1. By appending the score information to the file "QASA.SCR".
  322.     2. It creates a score file defined by the "File/Open" command.
  323.     3. By appending the score to the file defined in the database.
  324.     4. Both 1 and 2 above.
  325.     5. None of the above.
  326. A=
  327.     3. By appending the score to the file defined in the database.
  328.     3
  329. H=
  330. *
  331.  You may optionally define a score file, which may be on a network
  332.  drive. If you do so, all score data will be appended to that file.
  333.  You may also elect to encrypt the data to remove any temptation to
  334.  modify the file or to view someone else's answers.
  335.  
  336. ==========================================================================
  337.  
  338. W=
  339. 2
  340.  
  341. Q=
  342.  8. True/False
  343.  
  344.  The score file can be exported so that it can be used with other
  345.  programs, such as database and spreadsheet programs.
  346. A=
  347. $TRUE$
  348.  
  349. ==========================================================================
  350.  
  351. W=
  352. 2
  353.  
  354. Q=
  355.  9. True/False
  356.  
  357.  I can skip questions without answering them and come back to them later.
  358. A=
  359. $TRUE$
  360. H=
  361. *
  362.  By pressing the ENTER key without answering, you can move on to
  363.  the next question in the sequence. QASA will remember that you
  364.  have skipped the question and will come back to it later.
  365.  
  366. ==========================================================================
  367.  
  368. W=
  369. 1
  370.  
  371. Q=
  372.  10. Multiple-choice
  373.  
  374.  If letter grades are assigned, how do they correspond to the score?
  375.  
  376.     a. In multiples of 5, where 95 is "A", 90 is "B", and so on.
  377.     b. Without restriction, using any grade equivalencies you choose.
  378.     c. Letter grades are not supported.
  379. A=
  380.  b. Without restriction, using any grade equivalencies you choose.
  381.  b
  382.  b.
  383. H=
  384. *
  385.  You create list of equivalents relative to a percentage score.
  386.  QASA does not care what you use; 90% or better could result in
  387.  a score of "Poised and Graceful".
  388.  
  389. ==========================================================================
  390.  
  391. W=
  392. 1
  393.  
  394. Q=
  395.  11. Multiple-choice
  396.  
  397.  How does QASA locate my database?
  398.  
  399.     1. It searches the whole disk
  400.     2. It searches the current directory
  401.     3. It searches the directory specified in the "File/Open" command.
  402. A=
  403.     3. It searches the directory specified by "File/Open"
  404.     3
  405.  
  406. ==========================================================================
  407.  
  408. W=
  409. 1
  410.  
  411. Q=
  412.  12. Multiple-choice
  413.  
  414.  How does QASA locate its HELP file?
  415.     1. It searches the whole disk.
  416.     2. It searches the current directory.
  417.     3. It searches the directory specified by the "File/Open" command.
  418.     4. It searches all of the directories given by the PATH variable.
  419.        5. It will ask for the directory if it cannot find the file.
  420.     6. Both 2 and 4 above
  421.     7. 2, 4, and 5 above
  422.     8. All of the above
  423. A=
  424.     7. It searches the current directory, then the PATH, then asks.
  425.     7
  426.  
  427. ==========================================================================
  428.  
  429. W=
  430. 2
  431.  
  432. Q=
  433.  13. True/False
  434.  
  435.  QASA is distributed with features turned off to provide
  436.  an incentive to register the program.
  437. A=
  438. No. No features are disabled, but there is a 25-question limit.
  439. $FALSE$
  440. H=
  441. *
  442.  You may evaluate all of the features that QASA provides. In the
  443.  unregistered shareware version, however, the compiler restricts
  444.  the number of questions in a compiled database to 25. Once you
  445.  register QA Study Aid, recompiling will eliminate the limit.
  446.  
  447. ==========================================================================
  448.  
  449. W=
  450. 2
  451.  
  452. Q=
  453.  14. True/False
  454.  
  455.  The name of the database definition file must end with ".QA".
  456.  
  457. A=
  458. No! It CANNOT end with ".QA". The QASA compiler uses this extension!
  459. $FALSE$
  460.  
  461. ==========================================================================
  462.  
  463. W=
  464. 1
  465.  
  466. Q=
  467.  15. Multiple-choice
  468.  
  469.  The number of correct answers that I can give for a question is
  470.  
  471.     A. Two
  472.     B. Five
  473.     C. Unlimited
  474.     D. Limited by available memory
  475. A=
  476.     D. Limited by available memory, but essentially unlimited.
  477.     D
  478. H=
  479. *
  480.  Try to imagine an answer list of significant size - say, 4000
  481.  characters. If you can imagine that, you might imagine a more
  482.  effective way to phrase the question.
  483.  
  484. ==========================================================================
  485.  
  486. W=
  487. 1
  488.  
  489. Q=
  490.  16. Multiple-choice
  491.  
  492.  How much memory will QASA use?
  493.  
  494.     1. As much as is available below 640K.
  495.     2. All memory, including Extended (XMS) and Expanded (EMM) memory.
  496.     3. Two full 64K frames.
  497.     4. All of the above.
  498.     5. None of the above.
  499. A=
  500.  1. As much as is available below 640K.
  501.  1
  502.  
  503. ==========================================================================
  504.  
  505. W=
  506. 2
  507.  
  508. Q=
  509.  17. True/False
  510.  
  511.  QASA can handle an essay question.
  512. A=
  513. No. Scoring an essay question would require language interpretation.
  514. $FALSE$
  515. H=
  516. *
  517.  QASA would not be able to score an essay question (wait about
  518.  ten more years...). The best it would be able to do would be
  519.  some type of pattern matching technique, which would, in effect,
  520.  require YOU to create some horribly complicated set of expression
  521.  and grammar rules that would likely be wrong much of the time.
  522. *
  523.  Beyond that, an essay answer could be stored for later grading by
  524.  manual means. Automated scoring is one of the primary benefits
  525.  of computer-based testing. You can retain this benefit by avoiding
  526.  essay questions.
  527.  
  528. ==========================================================================
  529.  
  530. Note that with an assigned weight of zero, this question will not
  531. penalize the user if answered incorrectly...
  532. -----------------------------------------------------------------
  533. W=
  534. 0
  535.  
  536. Q=
  537.  18. Multiple-choice
  538.  
  539.  Where is the password stored that enables access to the score file?
  540.  
  541.     A. In the configuration file QASA.CFG.
  542.     B. In the help file QASA.HLP.
  543.     C. In a hidden file on disk.
  544.     D. Both A and C above.
  545.     E. None of the above.
  546. A=
  547. Did you really think we were going to give you the correct answer?
  548. E
  549. H=
  550. *
  551.  No, this isn't a trick question. But it shows that YOU are
  552.  in control! Your score will not be penalized.
  553.  
  554. ==========================================================================
  555.  
  556. W=
  557. 1
  558.  
  559. Q=
  560.  19. Multiple-choice
  561.  
  562.  Which of the answers given in the database does QASA display as correct
  563.  if I answer incorrectly?
  564.  
  565.     1. All of them
  566.     2. The last one
  567.     3. The first one
  568. A=
  569.     3. The first one
  570.     First
  571.     3
  572.     1st
  573.  
  574. ==========================================================================
  575.  
  576. W=
  577. 2
  578.  
  579. Q=
  580.  20. True/False
  581.  
  582.  QASA regards case ("A/a") in an answer as significant.
  583. A=
  584. $FALSE$
  585. H=
  586. *
  587.  QASA regards punctuation (optionally) as significant, but it
  588.  is not case-sensitive.
  589.  
  590. ==========================================================================
  591.  
  592. W=
  593. 1
  594.  
  595. Q=
  596.  21. Multiple-choice
  597.  
  598.  What will QASA do if I put tabs in my database?
  599.  
  600.     1. It will crash
  601.     2. It will expand them using 8-column tab stops
  602.     3. It will convert them to blanks
  603. A=
  604.     2. The QASA compiler will expand them using 8-column tab stops.
  605.     2
  606.     expand
  607.  
  608. ==========================================================================
  609.  
  610. Q=
  611.  22. Multiple-choice
  612.  
  613.  How does QASA locate the keyword tags (e.g., Q=, A=) in the database?
  614.  
  615.     1. It looks at the first character of each line
  616.     2. It looks for those characters alone on a line
  617.     3. It assumes 7-line spacing
  618.         A=
  619.     2. It looks for those characters alone on a line
  620.     2
  621.  
  622. ==========================================================================
  623.  
  624. W=
  625. 2
  626.  
  627. Q=
  628.  23. True/False
  629.  
  630.  QASA is public domain, or 'freeware'.
  631.  
  632. A=
  633. NO! QASA is SHAREWARE. If you use it, you must pay the registration fee.
  634. $FALSE$
  635.  
  636. ==========================================================================
  637.  
  638. W=
  639. 1
  640.  
  641. Q=
  642.  24. Multiple-choice
  643.  
  644.  What if I want to change the database file?
  645.  
  646.     1. You may change it any time you wish.
  647.     2. You must recompile it.
  648.     3. You cannot change the database.
  649. A=
  650.     2. You must recompile it using the QASA compiler.
  651.     2
  652.  
  653. ==========================================================================
  654.  
  655. W=
  656. 2
  657.  
  658. Q=
  659.  25. True/False
  660.  
  661.  I can stretch out a timed quiz by using F1 (help). The clock stops
  662.  while I'm in help.
  663. A=
  664. False. The clock is still running. It doesn't update inside help.
  665. $FALSE$
  666.  
  667. ==========================================================================
  668.  
  669. End of sample database.....
  670. ---------------------------
  671.  
  672.